Warning: Trying to access array offset on false in /var/www/vhosts/goodlifesenior.com/test/controllers/DetailController.php on line 72
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 5 in /var/www/vhosts/goodlifesenior.com/test/traits/CommonFunctions.php:409
Stack trace:
#0 /var/www/vhosts/goodlifesenior.com/test/traits/CommonFunctions.php(409): PDOStatement->execute()
#1 /var/www/vhosts/goodlifesenior.com/test/controllers/DetailController.php(72): DetailController->getCity()
#2 /var/www/vhosts/goodlifesenior.com/test/controllers/DetailController.php(10): DetailController->getSimpleDetails()
#3 /var/www/vhosts/goodlifesenior.com/test/index.php(60): DetailController->__construct()
#4 {main}
thrown in /var/www/vhosts/goodlifesenior.com/test/traits/CommonFunctions.php on line 409